<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            border: 1px solid gray;
            width: 50px;
        }
    </style>
</head>
<body>
    <input type="text" id="userpass">
    <p id="small" class="test1">弱</p>
    <p id="middle" class="test1">中</p>
    <p id="strong" class="test1">强eeee</p>
   
   
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/test.js"></script>
</html>